<p>add role</p>
<p class="tip" style="display:none;"></p>

<form id="addRole" method="post">
    <input type="text" name="name" required placeHolder="name" value="role name"><br>
    <input type="text" name="description" required placeHolder="description" value="description"><br>

    <!-- add permissions -->
    <p> select role permissions</p>
		<% _.each(list,function(item){ %>
			<label>
    			<input type="checkbox" name="permissions" value="<%- item.code %>"/>
    			<%- item.name %>
   			</label>
		<%	}); %>
	<input type="submit" value="add role">
</form>